home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
compuserve-file-archive
/
02 Help & Utilities
/
RS232.BIN
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2019-04-13
|
23KB
|
94 lines
10 POKE56,160:CLR:GOTO2020
20 POKE56,30:CLR:DIMA$,A:V=53248:POKE155,0
22 PRINT"[147][142]PRESS F1 TO VIEW SCHEMATIC DIAGRAM."
25 PRINT"PRESS F3 TO PRINT SCHEMATIC DIAGRAM."
27 PRINT"PRESS F5 TO READ TEXT."
30 PRINT"PRESS F7 TO PRINT TEXT."
32 PRINT"PRESS F8 TO EXIT."
35 GETA$:IFA$=CHR$(133)THEN52
37 IFA$=CHR$(134)THEN100
40 IFA$=CHR$(135)THEN300
42 IFA$=CHR$(136)THEN500
45 IFA$=CHR$(140)THENPOKE56,160:END
47 GOTO35
52 PRINT"[147]STEP THROUGH SCHEMATIC WITH"
53 PRINT"CURSOR UP AND CURSOR DOWN."
55 PRINT"PRESS RETURN FOR MAIN MENU."
57 PRINT"PRESS RETURN WHEN READY."
60 GETA$:IFA$=CHR$(13)THEN65
62 GOTO60
65 SYS49152
70 POKE253,64:POKE254,33:POKE141,0:POKE142,92
75 POKE251,192:POKE252,90:POKE139,0:POKE140,32:POKE150,192:POKE151,30
80 POKEV+17,59:POKEV+24,24
85 SYS49175
90 POKEV+17,27:POKEV+24,20:GOTO22
100 PRINT"[147]PRESS F1 FOR NORMAL HEIGHT."
105 PRINT"PRESS F3 FOR DOUBLE HEIGHT."
110 GETA$:IFA$=CHR$(133)THENPOKE880,0:GOTO125
115 IFA$=CHR$(134)THENPOKE880,255:GOTO125
120 GOTO110
125 PRINT"ONE MOMENT PLEASE..."
130 IFPEEK(155)=0THEN150
135 POKE253,64:POKE254,33:POKE141,0:POKE142,92
140 POKE251,192:POKE252,90:POKE139,0:POKE140,32:POKE150,192:POKE151,30
145 FORI=0TOPEEK(155)-1:SYS49820:NEXT
150 PRINT"PRINTING PAGE 1"
155 GOSUB800
160 PRINT"PRINTING PAGE 2"
165 GOSUB800
190 GOTO22
300 PRINT"[147]PRESS F1 TO START PRINTING TO SCREEN."
310 PRINT"PRESS F3 TO STOP PRINTING TO SCREEN."
320 PRINT"PRESS RETURN FOR MAIN MENU."
330 PRINT"PRESS RETURN WHEN READY."
340 GETA$:IFA$=CHR$(13)THEN355
350 GOTO340
355 POKE251,64:POKE252,93:POKE150,0:PRINT"[147] [208][210][197][211][211] [198]1"
360 PRINT"";:SYS49876
365 IFPEEK(2)THEN22
370 PRINT" [212][200][197] [197][206][196]"
375 PRINT"[208][210][197][211][211] [210][197][212][213][210][206] [198][207][210] [205][193][201][206] [205][197][206][213]"
380 GETA$:IFA$=CHR$(13)THENPRINT"[142]":GOTO22
385 GOTO380
500 PRINT"[147]PRESS S FOR SINGLE LINE SPACING."
502 PRINT"PRESS D FOR DOUBLE LINE SPACING."
503 GETA$:IFA$="S"THENPOKE150,0:GOTO510
505 IFA$="D"THENPOKE150,1:GOTO510
507 GOTO503
510 PRINT"[147]PRESS F1 TO SEND TEXT TO PRINTER."
512 PRINT"PRESS F3 TO STOP PRINTING."
513 PRINT"PRESS RETURN FOR MAIN MENU."
515 GETA$:IFA$=CHR$(133)THEN530
520 IFA$=CHR$(13)THEN22
525 GOTO515
530 POKE251,64:POKE252,93
532 OPEN4,4,7:CMD4:PRINTCHR$(27);"A";
535 POKE198,1:POKE631,133:SYS49876
540 CLOSE4:CLR:IFPEEK(255)THEN22
545 PRINT" THE END"
555 GETA$:IFA$=CHR$(13)THEN22
565 GOTO555
800 SYS49314
805 PRINT"ONE MOMENT PLEASE..."
810 POKE253,64:POKE254,33:POKE141,0:POKE142,92
815 POKE251,192:POKE252,90:POKE139,0:POKE140,32:POKE150,192:POKE151,30
820 FORI=1TO24:SYS49806:NEXT
825 RETURN
2020 PRINT"[147]ONE MOMENT PLEASE..."
2025 P=PEEK(45)+256*PEEK(46)-1
2030 IFPEEK(P)THENP=P-1:GOTO2030
2035 Q=P-740
2040 FORI=0TO39:READY:POKE50000+I,Y:NEXT
2045 POKE53,227:POKE54,194:POKE251,28:POKE252,253
2050 POKE254,P/256:POKE253,PAND255:SYS50000
2055 POKE53,195:POKE54,108:POKE251,60:POKE252,179
2060 POKE254,Q/256:POKE253,QAND255:SYS50000
2065 SYS50023:POKE45,PEEK(251):POKE46,PEEK(252)
2070 POKE2064,48:GOTO20
2075 DATA160,0,177,253,145,53,152,208,4
2080 DATA198,54,198,254,136,230,251
2085 DATA208,240,230,252,208,236,96
2090 DATA32,51,165,165,34,24,105,2,133
2095 DATA251,165,35,105,0,133,252,96